package com.smart.manager.member.entities.bodys;

import com.smart.common.entities.core.BaseSearch;
import com.smart.manager.member.entities.enums.SaleBill;
import com.smart.manager.member.entities.enums.SaleStatus;
import com.smart.manager.member.entities.views.MemberPigView;
import com.smart.manager.member.entities.views.MemberView;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * @author leo
 * @date 2023/09/22
 */
public class RMemberPigSaleBill {
    @EqualsAndHashCode(callSuper = true)
    @Data
    @ApiModel("RMemberMaterialPig1")
    public static class SearchBody extends BaseSearch {

        @ApiModelProperty(value = "玩家ID")
        private MemberView memberId;

        @ApiModelProperty(value = "交易类型")
        private SaleBill saleBill;

        @ApiModelProperty(value = "猪ID")
        private MemberPigView pigId;

        @ApiModelProperty(value = "交易价格")
        private BigDecimal price;

        @ApiModelProperty(value = "交易时间")
        private LocalDateTime transactionTime;
    }

}
